.class public Lcom/glympse/platform/common/Ticket$CompareByLastUseTime;
.super Lcom/glympse/platform/GComparator$Tickets;
.source "Ticket.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/glympse/platform/common/Ticket;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "CompareByLastUseTime"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/glympse/platform/GComparator$Tickets;"
    }
.end annotation


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 616
    invoke-direct {p0}, Lcom/glympse/platform/GComparator$Tickets;-><init>()V

    return-void
.end method


# virtual methods
.method public compare(Lcom/glympse/platform/common/Ticket;Lcom/glympse/platform/common/Ticket;)I
    .locals 4
    .parameter "oTicket1"
    .parameter "oTicket2"

    .prologue
    .line 621
    iget-wide v0, p1, Lcom/glympse/platform/common/Ticket;->m_lLastUseTime:J

    iget-wide v2, p2, Lcom/glympse/platform/common/Ticket;->m_lLastUseTime:J

    cmp-long v0, v0, v2

    if-lez v0, :cond_0

    const/4 v0, -0x1

    :goto_0
    return v0

    .line 622
    :cond_0
    iget-wide v0, p1, Lcom/glympse/platform/common/Ticket;->m_lLastUseTime:J

    iget-wide v2, p2, Lcom/glympse/platform/common/Ticket;->m_lLastUseTime:J

    cmp-long v0, v0, v2

    if-gez v0, :cond_1

    const/4 v0, 0x1

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
    .locals 1
    .parameter
    .parameter

    .prologue
    .line 1
    check-cast p1, Lcom/glympse/platform/common/Ticket;

    check-cast p2, Lcom/glympse/platform/common/Ticket;

    invoke-virtual {p0, p1, p2}, Lcom/glympse/platform/common/Ticket$CompareByLastUseTime;->compare(Lcom/glympse/platform/common/Ticket;Lcom/glympse/platform/common/Ticket;)I

    move-result v0

    return v0
.end method
